package com.zyt.springboot.teach_factoryProxy.abstractFactory.aa;

import com.zyt.springboot.teach_factoryProxy.abstractFactory.Computer;
import com.zyt.springboot.teach_factoryProxy.abstractFactory.HuaweiComputer;
import com.zyt.springboot.teach_factoryProxy.simpleFactory.HuaWeiPhone;
import com.zyt.springboot.teach_factoryProxy.simpleFactory.Phone;

/*
 * @params: 华为工厂
 */
public class HuaweiFactory implements AbstractFactory{
    @Override
    public Phone makePhone() {
        return new HuaWeiPhone();
    }

    @Override
    public Computer makeComputer() {
        return new HuaweiComputer();
    }
}
